<div class="form-group col-md-12 {$form[type].extra_class|default=''}" id="form_group_{$form[type].name}">
  <label for="{$form[type].name}">{$form[type].title}</label>
  <div class="form-controls">
    <input class="js-datetimepicker form-control"
      type="text"
      id="{$form[type].name}"
      name="{$form[type].name}"
      value="{$form[type].value|default=''}"
      placeholder=""
      data-provide="datetimepicker" 
      data-side-by-side="true"
      data-locale="zh-cn"
      data-format="YYYY-MM-DD HH:mm:ss"
      {$form[type].extra_attr|default=''}>
    {notempty name="form[type].remark"}
    <small class="form-text text-muted">{$form[type].remark|raw|clear_js}</small>
    {/notempty}
  </div>
</div>
{assign name="useMomentjs" value="1" /}
{assign name="useDatetimepicker" value="1" /}